package com.miaoxie.forum.module.auth.shared.interceptor;

/**
 * Created by miaoxie on 2017/3/28.
 */
public interface IProtocol {
    /**
     * 方法名定义
     */
    String SECURITY_HEADER = "method-name";

    /**
     * json头定义
     */
    String JSON_CONTENT_TYPE = "application/json";

    /** 多媒体类型的前缀 */
    String CONTENT_TYPE_MULTIPART = "multipart/";

    /**
     * hessian头定义
     */
    String HESSIAN_CONTENT_TYPE = "x-application/hessian";

    /**
     * 包名前缀
     */
    String PACKAGE_PREFIX = "com/miaoxie/";

    /**
     * 模块前缀
     */
    String MODULE_PREFIX = PACKAGE_PREFIX + "module/";
}
